package basic;

public class Resource {

	public static void main(String[] args) {
		System.out.println(Thread.currentThread().getContextClassLoader().getResource(""));
		System.out.println(System.getProperty("user.dir"));//返回绝对路径
		//ServletContext.getRealPath("/")
	}

}
